package com.example.demo.repository;

import com.example.demo.domain.Student;
import org.springframework.boot.autoconfigure.data.jpa.JpaRepositoriesAutoConfiguration;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;
import java.util.Map;

public interface StudentRepository extends JpaRepository<Student,String> {

Student findByNumberAndPassword(String number,String password);

    Student findByNumber(String number);
}
